/**
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */

package com.poltman.dscentral.db.service.dspace;


import com.poltman.dscentral.db.entity.dspace.HandleEntity;
import com.poltman.dscentral.db.exceptions.RepositoryAccessException;
import com.poltman.dscentral.db.exceptions.RepositoryException;




/**
 * 
 * @author z.ciok@poltman.com
 * 
 */
public interface HandleService {
	
	public HandleEntity findByResourceTypeIdAndResourceId(Integer resourceTypeId, Integer resourceId) throws RepositoryAccessException, RepositoryException;
	public HandleEntity save(HandleEntity handleEntity) throws RepositoryAccessException, RepositoryException;
	public int setFixedHandleFor(String handle, Integer handleId) throws RepositoryAccessException, RepositoryException;	
}
